package com.github.hwangrq.minicat.servlet;

import com.github.hwangrq.minicat.server.Request;
import com.github.hwangrq.minicat.server.Response;

/**
 * @author hwangrq
 * @date 2021/3/14 14:26
 * @description
 */
public interface Servlet {

    void init() throws Exception;

    void destroy() throws Exception;

    void service(Request request, Response response) throws Exception;

}
